package com.pfzy.utildemo.activity.record.soundrecord.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class AudioFileInfo {
    @Id(autoincrement = true)
    private long id;

    private String audioFilePath;// 音频文件路径
    private int audioFileUploadStatus;// 音频文件上传状态
    private String fileName;// 文件名
    private long recordEndTime;// 记录结束时间
    private long recordStartTime;// 记录开始时间
//    int bizLine;// 业务线
//    String extra;// 额外
//    int extraCount;// 额外计数
//    boolean groupTask;// 分组任务
//    String groupid;// 分组ID
//    String orderNo;// 订单号
//    String position;// 位置
//    int recordStatus;// 记录状态
//    String recordType;// 记录类型
//    String scene;// 场景
//    String uid;
//    int uploadIndex;// 上传索引
//    int utype;// 类型


    @Generated(hash = 955773014)
    public AudioFileInfo(long id, String audioFilePath, int audioFileUploadStatus,
            String fileName, long recordEndTime, long recordStartTime) {
        this.id = id;
        this.audioFilePath = audioFilePath;
        this.audioFileUploadStatus = audioFileUploadStatus;
        this.fileName = fileName;
        this.recordEndTime = recordEndTime;
        this.recordStartTime = recordStartTime;
    }

    @Generated(hash = 1207633152)
    public AudioFileInfo() {
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAudioFilePath() {
        return audioFilePath;
    }

    public void setAudioFilePath(String audioFilePath) {
        this.audioFilePath = audioFilePath;
    }

    public int getAudioFileUploadStatus() {
        return audioFileUploadStatus;
    }

    public void setAudioFileUploadStatus(int audioFileUploadStatus) {
        this.audioFileUploadStatus = audioFileUploadStatus;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public long getRecordEndTime() {
        return recordEndTime;
    }

    public void setRecordEndTime(long recordEndTime) {
        this.recordEndTime = recordEndTime;
    }

    public long getRecordStartTime() {
        return recordStartTime;
    }

    public void setRecordStartTime(long recordStartTime) {
        this.recordStartTime = recordStartTime;
    }

    @Override
    public String toString() {
        return "AudioFileInfo{" +
                "id=" + id +
                ", audioFilePath='" + audioFilePath + '\'' +
                ", audioFileUploadStatus=" + audioFileUploadStatus +
                ", fileName='" + fileName + '\'' +
                ", recordEndTime=" + recordEndTime +
                ", recordStartTime=" + recordStartTime +
                '}';
    }

    public void setId(long id) {
        this.id = id;
    }
}
